<?php include("../Service/WebClass/report/ScoreRankClass.php");
$score_rank = new ScoreRank;
$score_rank->MyTask(); 
?>	



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<title>リスティング成績分析</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<link href="../css/calendar.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="../js/common.js" type="text/javascript"></script>
<script language="JavaScript" src="../js/Calendar4.js" type="text/javascript"></script>	
<script>

function do_search()
{
	document.getElementById("ScoreRank").submit();		
}

</script>


</head>
<body bgcolor="#F4FFE4">
<?php include("../head.php");?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

 <tr>
    <td width="165" valign="top" bgcolor="#5C743D"><?php include("../menu.php");?>

    </td>
    <td width="813" colspan="2" align="center" valign="top">
<form name="ScoreRank" id="ScoreRank" method="POST">
<?php
echo "<input type=hidden name=act id=act value=submit>"
?>
<!-- search_area start -->
<table width="100%" border="0" cellpadding="4" cellspacing="0" class="tbl where">
	<tr>
		<td>
<select name="year" id="year">
<?=$score_rank->getYearOption()?>
</select>
年
<select name="month" id="month">
<?=$score_rank->getMonthOption()?>
</select>
月&nbsp;
<input name="button" type="button" class="btn search" onclick="javascript:do_search();" value="" />

<p>
<img src="images/spacer.htm" border="0" width="1" height="5" /> ランキング母体:
<select name="group" id="group" class="txBox">
<?=$score_rank->getTargetOption()?>
</select>

ランキング対象:&nbsp;&nbsp;
<select name="rank_item" id="rank_item" class="txBox">
<?=$score_rank->getItemOption()?>
</select>
<script>document.getElementById("filter3_type").value = "1";</script>
&nbsp;&nbsp; <br />
同一業種　
<input name="same_industry" type="checkbox" id="same_industry" value="1"  <? echo $score_rank->same_industry==1 ? "checked" : "";?>/>
同一企業規模
<input name="same_scale" type="checkbox" id="same_scale" value="1" <? echo $score_rank->same_scale==1 ? "checked" : "";?>/>
</p>		</td>
	</tr>
</table>
</form>
<span id="backMedia" style="display:none;">
<a href="javascript:var id=document.getElementById('search_media_select').value;var fromDate=document.getElementById('cal_input_from').value;var toDate=document.getElementById('cal_input_to').value;window.location='media.php?listingType='+ id + '&fromDate='+fromDate+'&toDate='+toDate;">
<img src="../images/branch_parent.gif" border=0>媒体別に戻る</a><br>
</span>			
<!-- search_area end -->
<br>
<?=$score_rank->tableHeader?>
<?=$score_rank->tableList?>
<br />
</form>
<br />
    <br />
    </td>
  </tr>
 </table>
<?php
include("../foot.php");
?>
</body>
</html>
